package com.stone.framework.cases.service;

import org.springframework.data.domain.Pageable;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.stone.framework.message.cases.AllCaseReqBody;
import com.stone.framework.message.cases.AllCaseResBody;
import com.stone.framework.message.cases.CurrCaseReqBody;
import com.stone.framework.message.cases.CurrCaseResBody;

public interface CaseService {

    /**
     * 案件列表，查询在催案件
     * 
     * @param reqBody
     * @param pageable
     * @return
     */
    IPage<CurrCaseResBody> queryCurrCases(CurrCaseReqBody reqBody, Pageable pageable);

    /**
     * 案件调整查询，查询所有案件
     * 
     * @param reqBody
     * @param pageable
     * @return
     */
    IPage<AllCaseResBody> queryAllCases(AllCaseReqBody reqBody, Pageable pageable);

}
